package com.xcode.mapper;

import java.util.List;
import com.xcode.bean.table.User;

//@CacheNamespace
public interface UserMapper
{
	//@Select(SQLManager.selectUserById)
	public User selectUserById(int id);
	
	//@Select(SQLManager.selectUsersByName)
	public List<User> selectUsersByName(String name);
	
	//@Insert(SQLManager.insertUser)
	public void insertUser(User user);
	
	//@Delete(SQLManager.deleteUserByID)
	public void deleteUserByID(int id);
}
